<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>nginx</Name>
        <Homepage>http://www.nginx.net/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>as-is</License>
        <IsA>service</IsA>
        <Summary>Robust, small and high performance http and reverse proxy server</Summary>
        <Description>Nginx is a free, open-source, high-performance HTTP server and reverse proxy, as well as an IMAP/POP3 proxy server. Written by Igor Sysoev in 2005, Nginx now hosts between 1% and 4% of all domains worldwide. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption.</Description>
        <Archive sha1sum="95cf32c3e33efc53ac81338a5779fbaa425f02e2" type="targz">http://nginx.org/download/nginx-1.10.3.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>gd-devel</Dependency>
            <Dependency>geoip-devel</Dependency>
            <Dependency>libxslt-devel</Dependency>
            <Dependency>libpcre-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>zlib-devel</Dependency>
        </BuildDependencies>
    </Source>

    <Package>
        <Name>nginx</Name>
        <RuntimeDependencies>
            <Dependency>gd</Dependency>
            <Dependency>geoip</Dependency>
            <Dependency>libxslt</Dependency>
            <Dependency>libpcre</Dependency>
            <Dependency>openssl</Dependency>
            <Dependency>zlib</Dependency>
            <Dependency>libxml2</Dependency>
            <Dependency>perl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc/nginx</Path>
            <Path fileType="config">/etc/logrotate.d</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="data">/var/www/nginx</Path>
            <Path fileType="data">/var/log/nginx</Path>
            <Path fileType="data">/run</Path>
            <Path fileType="data">/var/lib/nginx/client_body</Path>
            <Path fileType="data">/var/lib/nginx/fastcgi</Path>
            <Path fileType="data">/var/lib/nginx/proxy</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="doc">/usr/share/doc</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/etc/nginx/nginx.conf">conf/nginx.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/nginx/ssl.conf">conf/ssl.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/nginx/conf.d/00_default_vhost.conf">conf/00_default_vhost.conf</AdditionalFile>
            <AdditionalFile owner="root" permission="0644" target="/etc/logrotate.d/nginx">nginx.logrotate</AdditionalFile>
            <!-- Default Pisi Linux Page -->
            <AdditionalFile owner="root" permission="0755" target="/var/www/nginx/htdocs/index.html">default-page/index.html</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/var/www/nginx/htdocs/index-tr.html">default-page/index-tr.html</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/var/www/nginx/htdocs/404.html">default-page/404.html</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/var/www/nginx/htdocs/nginx.css">default-page/nginx.css</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/var/www/nginx/htdocs/nginx.gif">default-page/nginx.gif</AdditionalFile>
            <AdditionalFile owner="root" permission="0755" target="/var/www/nginx/htdocs/pisi-linux.png">default-page/pisi-linux.png</AdditionalFile>
        </AdditionalFiles>
        <Provides>
            <COMAR script="package.py">System.Package</COMAR>
            <COMAR script="service.py">System.Service</COMAR>
        </Provides>
    </Package>

    <History>
        <Update release="1">
            <Date>2017-02-14</Date>
            <Version>1.10.3</Version>
            <Comment>First release</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>admins@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
